@import '~@/assets/common/mixin.scss';
body,
div,
span,
header,
footer,
nav,
section,
aside,
article,
ul,
dl,
dt,
dd,
li,
a,
p,
h1,
h2,
h3,
h4,
h5,
h6,
i,
b,
textarea,
button,
input,
select,
figure,
figcaption
{
  padding: 0;
  margin: 0;
  list-style: none;
  font-style: normal;
  text-decoration: none;
  border: none;
  font-weight: normal;
  font-family: "Microsoft Yahei";
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  &:hover {
    outline: none;
  }
}


/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/

::-webkit-scrollbar {
  width: 0px;
  height: 0px;
  background-color: #F5F5F5;
}


/*定义滚动条轨道 内阴影+圆角*/

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 1px rgba(0, 0, 0, 0);
  border-radius: 10px;
  background-color: #F5F5F5;
}


/*定义滑块 内阴影+圆角*/

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
  background-color: #555;
}

input[type="button"],
input[type="submit"],
input[type="search"],
input[type="reset"] {
  -webkit-appearance: none;
}

textarea {
  -webkit-appearance: none;
}

html,
body,
#app {
  height: 100%;
  width: 100%; // background-color: #F5F5F5;
}

#app {
  min-width: 10rem;
  max-width: 10rem;
  margin: 0 auto;
  position: relative;
  background: #f0f3f5;
}

._v-content .pull-to-refresh-layer .spinner-holder {
  // visibility: hidden;
}

._v-content {
  background: #f0f3f5;
}

._v-content .pull-to-refresh-layer {
  background-image: url('~@/assets/images/login/jdload.gif');
  background-repeat: no-repeat;
  background-position: 100px 10px;
  background-size: 40px 40px;
  opacity: 0.3;
  -webkit-transform: scale(1);
  transform: scale(1);
  transition: all .15s linear;
  -webkit-transition: all .15s linear;
}

._v-content .pull-to-refresh-layer.active {
  opacity: 1;
  -webkit-transform: scale(1.35);
  transform: scale(1.35);
  span {
    span {
      -webkit-transform: scale(.7)!important;
      transform: scale(.7)!important;
    }
  }
}

.loadmore-top,.loadmore-bottom{
  margin-top: -50px;
  }
.loadmore-top{
  text-align: center;
  height: 50px;
  line-height: 50px;
  svg{
    display:none;
  }
  >div{
    background-image: url('~@/assets/images/login/jdload.gif');
    background-repeat: no-repeat;
    background-size: 40px 40px;
    -webkit-transform: scale(1);
    transform: scale(1);
    background-position: 100px 5px;
    transition: all .15s linear;
    -webkit-transition: all .15s linear;
  }
  .pull{
    background-position: 100px 5px;
    opacity: 0.3;
  }
  .drop{
    opacity: 1;
    -webkit-transform: scale(1.4);
    transform: scale(1.4);
    background-position: 110px 0px;
    span {
      -webkit-transform: scale(.7)!important;
      transform: scale(.7)!important;
    }
  }
}

//单选框
.select-icon {
  background: url('~@/assets/images/login/check1.png') no-repeat!important;
  background-size: 100% 100%!important;
}

.mint-toast,.mint-indicator{
  z-index: 99999999999999999!important;
}
//模态框
.modal-popup {
  width: 100%;
  height: 100%;
  max-width: 10rem;
  min-width: 10rem;
}

.select-default-icon {
  display: table;
  width: 20px;
  height: 20px;
  background: url('~@/assets/images/login/check0.png') no-repeat;
  background-size: 100% 100%;
}
//眼睛
.eye-icon{
  display: block;
  width: 25px;
  height: 25px;
  background: url('~@/assets/images/login/eye.png') no-repeat;
  background-size: 100% 100%;
  &.eye-close-icon{
    background: url('~@/assets/images/login/eye-close.png') no-repeat;
    background-size: 100% 100%;
  }
}

//按钮
.cell-btn{
  background: #f23030;
  color: #fff;
  font-size: 16px;
  text-align: center;
  margin: .8rem auto;
  border-radius: 2px;
  width: 90%;
  padding: 10px 0;
}
.birthday{
    background: deepskyblue;
    color: #fff;
    font-size: 16px;
    text-align: center;
    margin: .8rem auto;
    border-radius: 2px;
    width: 90%;
    padding: 10px 0;
}
.disabled-btn{
  background: #f4f4f4!important;
  color: #ccc!important;
  pointer-events: none;
  cursor: default;
}
//单选框
//switch 颜色
.mint-switch-input:checked+.mint-switch-core {
  border-color: #f23030!important;
  background-color: #f23030!important;
}

//地区选择器 文字颜色
.distpicker-address-wrapper {
  font-size: 15px!important;
  color: #333!important;
  height: 100%;
  .address-container {
    height: 100%;
  }
  .address-header {
    border-bottom: 1px solid #eee;
    ul {
      justify-content: flex-start!important;
      li {
        padding: 10px 10px!important;
        &.active {
          color: #f23030!important;
          border-bottom: #f23030 solid 1px!important;
        }
      }
    }
  }
  li {
    padding: 12px 10px!important;
    border: none!important;
    &.active {
      color: #f23030!important;
    }
  }
}

//arrow-right icon
.arrow-right {
  display: block;
  width: 16px;
  height: 20px;
  background: url('~@/assets/images/login/arrow-right.png') no-repeat;
  background-size: 100%;
}

.starList { //星星
  margin-top: 5px;
  @include flexbox(flex-end,
  center,
  row,
  nowrap);
  .star {
    display: block;
    width: 14px;
    height: 14px;
    background: url('~@/assets/images/login/star-h.png') no-repeat;
    background-size: 100%;
  }
  .blur{
    display: block;
    width: 14px;
    height: 14px;
    background: url('~@/assets/images/login/star-n.png') no-repeat;
    background-size: 100%;
  }
}

//图片懒加载展位图
img[lazy]{
  opacity: 1;
  transition: opacity .3s ease-in;
  -webkit-transition: opacity .3s ease-in;
}
img[lazy=loading] {
  opacity: 0;
  background: #f5f5f5;
  visibility: hidden;
  margin: auto;
}
img[lazy=loaded] {
  opacity: 1;
  visibility: visible;
}
